"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
require("reflect-metadata");
const typeorm_1 = require("typeorm");
let WeiXinSetting = class WeiXinSetting {
};
__decorate([
    typeorm_1.Column({ primary: true, name: "id", type: "char", length: 36 })
], WeiXinSetting.prototype, "id", void 0);
__decorate([
    typeorm_1.Column({ name: "app_id", type: "varchar", length: 50, nullable: true })
], WeiXinSetting.prototype, "AppId", void 0);
__decorate([
    typeorm_1.Column({ name: "app_secret", type: "varchar", length: 50, nullable: true })
], WeiXinSetting.prototype, "AppSecret", void 0);
__decorate([
    typeorm_1.Column({ name: "partner_id", type: "varchar", length: 50, nullable: true })
], WeiXinSetting.prototype, "PartnerId", void 0);
__decorate([
    typeorm_1.Column({ name: "partner_key", type: "varchar", length: 50, nullable: true })
], WeiXinSetting.prototype, "PartnerKey", void 0);
__decorate([
    typeorm_1.Column({ name: "token", type: "varchar", length: 50, nullable: true })
], WeiXinSetting.prototype, "Token", void 0);
__decorate([
    typeorm_1.Column({ name: "mini_program_app_id", type: "varchar", length: 50, nullable: true })
], WeiXinSetting.prototype, "MiniProgramAppId", void 0);
__decorate([
    typeorm_1.Column({ name: "mini_program_app_secret", type: "varchar", length: 50, nullable: true })
], WeiXinSetting.prototype, "MiniProgramSecret", void 0);
WeiXinSetting = __decorate([
    typeorm_1.Entity("wx_setting")
], WeiXinSetting);
exports.WeiXinSetting = WeiXinSetting;
let User = class User {
};
__decorate([
    typeorm_1.Column({ primary: true, name: "id", type: "char", length: 36 })
], User.prototype, "id", void 0);
__decorate([
    typeorm_1.Column({ name: "create_date_time", type: "datetime" })
], User.prototype, "createDateTime", void 0);
__decorate([
    typeorm_1.Column({ name: "open_id", type: "varchar", length: 50 })
], User.prototype, "openId", void 0);
__decorate([
    typeorm_1.Column({ name: "application_id", type: "varchar", length: 36 })
], User.prototype, "applicationId", void 0);
User = __decorate([
    typeorm_1.Entity("wx_user")
], User);
exports.User = User;
